<!DOCTYPE HTML>
<html>
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@page  import="com.beidouapp.security.utils.DscpCommUtils" %>
<%@page import="com.beidouapp.security.model.SessionUser"%> 
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<link href="<%=request.getContextPath()%>/css/common/H-ui.min.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/common/H-ui.admin.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/iconfont/iconfont.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/font-awesome/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/common/style.css?1.3" rel="stylesheet" type="text/css"/>
<title>用户管理</title>
</head>
<body>
<div class="pd-20">
    <div><a href="javascript:;" onclick="alert('待开发中');" class="btn btn-primary radius size-XL"><i class="icon-plus"></i> 添加用户</a></div>
	<div class="memberList_search pl-10 bg-1 bk-gray mt-20 mb-20 pt-10 pd-10"><span>用户查询：</span><span class="select-box" style="width:240px">
        <select id="attrName" class="select" onchange="change()">
        <option value="USERNAME">用户名</option>
        <option value="MOBILE">手机号</option>
        <option value="COMPANY">公司名</option>
        <option value="SOURCE">用户来源</option>
    </select>
    </span><span>
                <input type="text" style="width:220px" class="input-text ml-10" placeholder=""  id="userName" name="userName"/>
                <select id="sou" name="sou" class="select-box"   style="width:220px;display:none" >
                    <option value="2">咨询</option>
                    <option value="1">论坛</option>
                </select>
    </span><span><button type="button" class="btn btn-primary" onclick="doSearch();">搜索</button><button type="button" class="btn btn-danger ml-10" onclick="doReset();">重置</button></span></div>
    <table class="table table-border table-hover table-striped table-sort">
        <thead>
        <tr class="text-c">
        	<th>id</th>
            <th>用户ID</th>
            <th>用户来源</th>
            <th>用户名</th>
            <th>真实姓名</th>
            <th>手机号</th>
            <th>公司名称</th>
            <th>项目数</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody class="text-c"></tbody>
    </table>
</div>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/jquery.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/layer1.8/layer.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/H-ui.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/H-ui.admin.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/jquery.dataTables.min.js"></script>

<script type="text/javascript" src="<%=request.getContextPath()%>/js/member/member_List.js?1.2"></script>
<script type="text/javascript">
    var baseURL="<%=request.getContextPath()%>";
    $(function () {
        $('table').find('tr').find('td:last').attr('style', 'text-align:left');
    })
    function change(){
      //  <input type="text" style="width:220px" class="input-text ml-10" placeholder="请输入用户名称，支持模糊搜索"  id="userName" name="userName"/>
       // <select id="sou" name="sou">
        if($("#attrName").val()=="SOURCE"){
            $("#sou").show();
            $("#userName").hide();

        }else{
            $("#userName").show();
            $("#sou").hide();
        }

    }
</script>
</body>
</html>